﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

class Student
{
    private string firstName;
    private string lastName;
    private int facNumber;

    public string FirstName
    {
        get { return firstName; }
        set { firstName = value; }
    }
    
    public string LastName
    {
        get { return lastName; }
        set { lastName = value; }
    }

    public int FacNumber
    {
        get { return facNumber; }
        set { facNumber = value; }
    }

    public Student(string firstName, string lastName, int facNumber)
    {
        this.firstName = firstName;
        this.lastName = lastName;
        this.facNumber = facNumber;
    }

    public override string ToString()
    {
        return String.Format("First name: {0}, last name: {1}, faculty number: {2}", this.firstName, this.lastName, this.facNumber);
    }
}
